div {
    width: calc(100% - 20px);
    height: 100px;
    background-color: green;
}